home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xt
/
XtGetGC.z
/
XtGetGC
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXttttGGGGeeeettttGGGGCCCC((((3333XXXXtttt)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXttttGGGGeeeettttGGGGCCCC((((3333XXXXtttt))))
NNNNAAAAMMMMEEEE
XtGetGC, XtReleaseGC - obtain and destroy a sharable GC
SSSSYYYYNNNNTTTTAAAAXXXX
GC XtGetGC(_w, _v_a_l_u_e__m_a_s_k, _v_a_l_u_e_s)
Widget _w;
XtGCMask _v_a_l_u_e__m_a_s_k;
XGCValues *_v_a_l_u_e_s;
void XtReleaseGC(_w, _g_c)
Widget _w;
GC _g_c;
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
_g_c Specifies the GC to be deallocated.
_v_a_l_u_e_s Specifies the actual values for this GC.
_v_a_l_u_e__m_a_s_k
Specifies which fields of the values are
specified.
_w Specifies the widget.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _X_t_G_e_t_G_C function returns a sharable, read-only GC. The
parameters to this function are the same as those for
_X_C_r_e_a_t_e_G_C except that a widget is passed instead of a
display. _X_t_G_e_t_G_C shares only GCs in which all values in the
GC returned by _X_C_r_e_a_t_e_G_C are the same. In particular, it
does not use the value_mask provided to determine which
fields of the GC a widget considers relevant. The
value_mask is used only to tell the server which fields
should be filled in with widget data and which it should
fill in with default values. For further information about
value_mask and values, see _X_C_r_e_a_t_e_G_C in the _X_l_i_b - _C
_L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e.
The _X_t_R_e_l_e_a_s_e_G_C function deallocate the specified shared GC.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
_X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
Page 1 (printed 4/30/98)